/*
 * Copyright 2006-2008 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.martinimix.dao.account;

import java.util.List;

import net.martinimix.domain.account.Address;
import net.martinimix.domain.account.Customer;
import net.martinimix.domain.account.InvalidLoginException;
import net.martinimix.domain.payment.Account;
import net.martinimix.domain.payment.CreditCard;

/**
 * Provides a mock account data access object.
 * 
 * @author Scott Rossillo
 *
 */
public class MockAccountDao implements AccountDao {

	private List creditCards;
	
	/**
	 * Creates a new mock account dao.
	 */
	public MockAccountDao() { }

	public Customer createGuestCustomer() {
		return new Customer();
	}

	public Address findAddress(long id) {
		// TODO Auto-generated method stub
		return null;
	}

	public Customer findCustomer(long customerId) {
		// TODO Auto-generated method stub
		return null;
	}

	public Customer findCustomer(String username) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getBillingAddresses(long customerId) {
		// TODO Auto-generated method stub
		return null;
	}

	public CreditCard getCreditCard(long creditCardId) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getCreditCards(long customerId) {
		return creditCards;
	}
	
	public void setCreditCards(List creditCards) {
		this.creditCards = creditCards;
	}

	public List getShippingAddresses(long customerId) {
		// TODO Auto-generated method stub
		return null;
	}

	public Customer login(String userId, String password)
			throws InvalidLoginException {
		// TODO Auto-generated method stub
		return null;
	}

	public void saveAccount(Account account, Customer customer) {
		// TODO Auto-generated method stub
	}

	public Address saveAddresss(Address address) {
		// TODO Auto-generated method stub
		return null;
	}

	public void saveCreditCard(Customer customer, CreditCard creditCard) {
		// TODO Auto-generated method stub

	}

	public void saveCustomer(Customer customer) {
		// TODO Auto-generated method stub

	}

}
